<%--
  Created by IntelliJ IDEA.
  User: 32322
  Date: 2021/11/15
  Time: 11:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑项目</title>

    <link rel="shortcut icon" type="image/x-icon" href="${pageContext.request.contextPath}/favicon.ico"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/common.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/extend/dtree.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/extend/font/dtreefont.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/extend/formSelects-v4.css">


</head>


<body>
<div class="yadmin-body animated fadeIn">
    <form action="" method="post" class="layui-form layui-form-pane">
        <input name="id" type="hidden" value="${project.id}"/>
        <div class="layui-form-item">
            <label for="projectName" class="layui-form-label">
                项目名称
            </label>
            <div class="layui-input-block">
                <input type="text" id="projectName" name="projectName" value="${project.projectName}"
                       lay-verify="required" lay-vertype="tips"
                       autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label for="leader" class="layui-form-label">
                负责人姓名
            </label>
            <div class="layui-input-block">
                <input type="text" id="leader" name="leader" value="${project.leader}"
                       autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label for="detail" class="layui-form-label">
                备注
            </label>
            <div class="layui-input-block">
                <input type="text" id="detail" name="detail" value="${project.detail}"
                       autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block" style="margin-left:0;text-align:center;">
                <input type="hidden" id="deptId" name="deptId" value="">
                <input type="hidden" id="projectId" name="projectId" value="">
                <button class="layui-btn layui-btn-normal btn-w100" lay-submit="" lay-filter="update">确认</button>
            </div>
        </div>

    </form>
</div>

<script src="${pageContext.request.contextPath}/layui/layui.js"></script>
<script src="${pageContext.request.contextPath}/js/common.js"></script>

<script src="${pageContext.request.contextPath}/js/project/update.js"></script>

</body>
</html>
